package smartlifev30.com.sdk.bean.request;

import smartlifev30.com.sdk.net.baiwei.protocol.Body;

/**
 * Created by tys on 2018/8/15.
 */

public class IrLearnRequest extends Body{

    private Device device;

    public Device getDevice() {
        return device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }

    public class Device {
        private int id;
        private Key key;

        public class Key{
            private String name;
            private int index;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getIndex() {
                return index;
            }

            public void setIndex(int index) {
                this.index = index;
            }
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Key getKey() {
            return key;
        }

        public void setKey(Key key) {
            this.key = key;
        }
    }
}
